private static BlockingQueue<Runnable> createQueue(int size) {
        return size == 0 ? new SynchronousQueue<>(false) : new ArrayBlockingQueue<>(size);
    }
Shutdown the thread pool, give a grace period of 1 second before forcibly
shutting down all worker threads.
container-core/src/main/java/com/yahoo/container/handler/threadpool/ContainerThreadpoolImpl.java