Circuit breakers in ruby