code: public synchronized void unsetHandler(Handler handler) {
          String handlerId = CollectorManagerUtils.getHandlerId(handler);
          HandlerManager hdlrMgr;
          if (handlerMgrs.containsKey(handlerId)) {
              if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) {
                  Tr.event(tc, "Removing handler from the list", handler.getClass());
              }
              hdlrMgr = handlerMgrs.get(handlerId);
              //Terminate all subscriptions
              try {
                  unsubscribe(handler, new ArrayList<String>(hdlrMgr.getSubsribedSources()));
              } catch (Exception e) {
  
              }
              hdlrMgr.unsetHandler(handler);
              handlerMgrs.remove(handlerId);
          }
      }
docs: /*
  OSGi runtime calls this method to notify the collector manager when an existing handler provider
  is no longer available. This method will be used by the collector manager to un-bind handlers.
  When a handler is un-bound all its subscriptions are terminated.