code: @Deprecated
      @Draft
      public void closeSelector(Selector selector)
      {
          if (selectors.remove(selector)) {
              context.close(selector);
          }
      }
docs: Closes a selector.
  This is a DRAFT method, and may change without notice.
  
  @param selector the selector to close. It needs to have been created by {@link #createSelector()}.
  @deprecated {@link #createSelector()} was exposed by mistake. while waiting for the API to disappear, this method is provided to allow releasing resources.