docs: private void destroyConnectionFactories(boolean destroyImmediately) {
  
          lock.writeLock().lock();
          try {
              if (isInitialized.get()) {
                  // Mark all connection factories as disabled
                  isInitialized.set(false);
  
                  // Destroy the connection factories
                  conMgrSvc.deleteObserver(this);
                  conMgrSvc.destroyConnectionFactories();
  
                  conMgrSvc = null;
              }
          } finally {
              lock.writeLock().unlock();
          }
      }