Don't timeout while download an update.

Sometimes, if you're on a slow connection (or some other reason) you can timeout while downloading an update package. So, we should reset the time limit on each iteration of the download loop so that it's not so easy to timeout.