ShutdownDeadline schedule(long millis, boolean heapdumpOnShutdown) {
        executor.schedule(() -> onDeadline(heapdumpOnShutdown), millis, TimeUnit.MILLISECONDS);
        return this;
    }
Kills the JVM if the application is unable to shutdown before deadline.

@author bjorncs
container-disc/src/main/java/com/yahoo/container/jdisc/ShutdownDeadline.java