docs: public synchronized void unregisterJmxIfRequired() {
          referenceCount--;
          if (isRegistered == true && referenceCount <= 0) {
              JmxUtils.unregisterMbean(this.jmxObjectName);
              isRegistered = false;
          }
      }