added image download auto-retry