Set retry for dowloading file