Wise interview question

implement a circuit breaker between two services, Service A and Service B