@Override
    public void shutdownExecutor() {
        this.worker.shutdown();
        try {
            if (!this.worker.awaitTermination(1, TimeUnit.MINUTES)) {
                this.bootstrap.getPluginLogger().severe("Timed out waiting for the LuckPerms worker thread pool to terminate");
                reportRunningTasks(thread -> thread.getName().startsWith("luckperms-worker-"));
            }
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
Abstract implementation of {@link SchedulerAdapter} using a {@link ScheduledExecutorService}.
common/src/main/java/me/lucko/luckperms/common/plugin/scheduler/AbstractJavaScheduler.java