added timeouts to downloads