One fix that you might not be looking for but might still work is to not let your PC go to sleep.
Not actually sure if it needs to. I've been letting my PC run 24/7 for years ever since I've had it. Only time it shuts off is when it's updating and needs to restart, or if I'm moving.
Yeah, I leave it on more than I should sometimes. I think it is unhealthy and rough on the pc lifespan, so I want it to sleep.
I think I found a solution with a program called PersistentWindows