adding retry 3x try-catch function to download