protected final void stopChoreService() {
    // clean up the scheduled chores
    if (choreService != null) {
      LOG.info("Shutdown chores and chore service");
      stopChores();
      // cancel the remaining scheduled chores (in case we missed out any)
      // TODO: cancel will not cleanup the chores, so we need make sure we do not miss any
      choreService.shutdown();
    }
  }
Sets the abort state if not already set.
@return True if abortRequested set to True successfully, false if an abort is already in
        progress.
hbase-server/src/main/java/org/apache/hadoop/hbase/HBaseServerBase.java