The circuit breaker and retry patterns