remove superfluous maxAttempts