allowed_retries support