docs: private CircuitState closeCircuit() {
          if (LOG.isDebugEnabled()) {
              LOG.debug("Closing Circuit Breaker [{}]", method);
          }
  
          time = System.currentTimeMillis();
          lastError = null;
          this.childState = (MutableRetryState) retryStateBuilder.build();
          try {
              return state.getAndSet(CircuitState.CLOSED);
          } finally {
              if (eventPublisher != null) {
                  try {
                      eventPublisher.publishEvent(new CircuitClosedEvent(method));
                  } catch (Exception e) {
                      if (LOG.isErrorEnabled()) {
                          LOG.error("Error publishing CircuitClosedEvent: " + e.getMessage(), e);
                      }
                  }
              }
          }
      }