Add docs for maxRetries option