Understanding the circuit breaker pattern