Implemented download retries.