code: public void onClose() {
      try {
        this.evaluatorShimCommandChannel.close();
      } catch (Exception e) {
        LOG.log(Level.WARNING, "An unexpected exception while closing the Evaluator Shim Command channel: {0}", e);
        throw new RuntimeException(e);
      }
    }
docs: Closes the evaluator shim remote manager command channel.