Removed max_attempts and retry_sleep options.