private static void handleException(Thread thread, Throwable e) {
    LOG.warn("Exception occurred from thread {}", thread.getName(), e);
  }
Tells the background thread to stop. Does not wait for it to exit.
hbase-common/src/main/java/org/apache/hadoop/hbase/io/FileChangeWatcher.java