There were some good ideas here, I think they helped my intermittent issues with wifi connection on esp32s3.