Implementation of Akka's CircuitBreaker in CS