public static HiveInterruptCallback remove(HiveInterruptCallback command) {
    synchronized (interruptCallbacks) {
      interruptCallbacks.remove(command);
    }
    return command;
  }
A list of currently running comments that needs cleanup when the command is canceled
common/src/java/org/apache/hadoop/hive/common/HiveInterruptUtils.java