Fixed bug with download timeout.