public static void shutdown() { // JAVA: soloExecutor.shutdown(); // JAVA: pooledExecutor.shutdown(); // TODO: record active jobs and shut them down? }