add mutex to circuit breaker