+ public static void triggerShutdown(CommandException exception) {
+ logger.debug("Triggering shutdown with exception.", exception);
+ shutdown.complete(exception);
+ }
+
+ public static void waitForShutdown() throws InterruptedException, CommandException {