added timeouts to download