public static void shutdown(final Thread t) {
        shutdown(t, 0);
    }
Shutdown passed thread using isAlive and join.

@param t Thread to shutdown
inlong-tubemq/tubemq-core/src/main/java/org/apache/inlong/tubemq/corebase/utils/ThreadUtils.java