Makes downloader exit if cannot connect to the server for a while.
Merge branch 'dev'