The race was in the above code. The breaker is in half-open. First call close the breaker before any other call has started, and then all following calls will also be successful.