Use wget or a download manager or pause and then resume the download every time it stalls if you're using Firefox. Also, some might argue that if you can't work around a dodgy network connection to a download server you shouldn't really be reflashing a device, but hey.