documented maxRetries