Make the "half-open" handling optional in CircuitBreaker