public static void shutdown(final Thread t) {
    shutdown(t, 0);
  }
Shutdown passed thread using isAlive and join.
@param t Thread to shutdown
hbase-common/src/main/java/org/apache/hadoop/hbase/util/Threads.java