Fixed recursive bug in retry downloader