Retry 5 times and log the issue