ShutdownRunnable runner = new ShutdownRunnable(requestedBy, targetShutdownTime,
triggerFailover, exitCode, cleanupJMX);
if (threadOff) {
Thread thr = new MQThread(runner,
"shutdown thread");
thr.start();
} else {
int shutdown = runner.shutdown(); // run in current thread
if (exit)
System.exit(shutdown);
}