Add retry logic in different places where code downloads the files from INTERNET.