Sorry Tuscanybay, I was very tired of trying to find a solution this problem while I was writing this question. I had already made sure that power saving was turned off and keep wifi always on was set properly.
My main point of posting this here was so that I could find a solution without...