code: public boolean removeNotificationListener(String mbeanName, NotificationListener listener) throws Exception {
          if (isConnected()) {
              ObjectName objectName = new ObjectName(mbeanName);
              mbsc.removeNotificationListener(objectName, listener, null, null);
              jmxc.removeConnectionNotificationListener(listener);
              return true;
          } else {
              return false;
          }
      }
docs: Removes listener as notification and connection notification listener.
  
  @return true if successful, false otherwise
  @throws java.lang.Exception