@Override
  protected void destroyProcessImpl() {
    try {
      ExternalSystemTask task = myTask;
      if (task != null) {
        task.cancel();
      }
    }
    finally {
      closeInput();
    }
  }
@Override
  protected void destroyProcessImpl()