modify the download exception handler. retry 3 times while download fails.