code: @Override
      public void shutdown() {
          try {
              DefaultMonitorRegistry.getInstance().unregister(Monitors.newObjectMonitor(this));
          } catch (Throwable t) {
              logger.error("Cannot shutdown monitor registry", t);
          }
          try {
              peerEurekaNodes.shutdown();
          } catch (Throwable t) {
              logger.error("Cannot shutdown ReplicaAwareInstanceRegistry", t);
          }
          numberOfReplicationsLastMin.stop();
  
          super.shutdown();
      }
docs: Perform all cleanup and shutdown operations.