I would prefer to just reuse retry_attempts here.