Implement Retry of upload failures.