@Override
    public void shutdown() {
        isShutdown = true;
    }
{@link ExecutorService} implementation that runs all tasks in the calling thread. Useful for tests.

@author jonmv
vespajlib/src/main/java/com/yahoo/concurrent/InThreadExecutorService.java