Catch timeouts while downloading files. fix #1306, #645, #85
Fix download unit test url.