Simple circuit breaker pattern implementation