code: public void close(ComponentDescriptor<?> descriptor, Object component, boolean success) {
          CloseCallback callback = new CloseCallback(_includeNonDistributedTasks, success);
          callback.onEvent(component, descriptor);
      }
docs: Closes a component after use.
  
  @param descriptor
  @param component