I had this problem with wifi uploads. I noticed that if I go to Settings -> Phone -> State (press to Not in use) and after that wifi connects fluently!
(I noticed that my Garmin watch tries to connect to my phone but if it is not available (for example as I try to save battery and disable bluetooth). So that disturbs wifi connection attempts! So there must be a flaw is software (prioritizing bluetooth vs. wifi).