Retry API call up to five times, and faster.