added timeouts and fixes for downloading initial corpus