private void maybeEnableCommandMonitor() throws IOException {
String port = getProperty(COMMAND_MONITOR_PORT, null);
if (port != null) {
new CommandMonitorThread(
Integer.parseInt(port),
new StopApplicationCommand(new Runnable()
{
@Override
public void run() {
Launcher.this.commandStop();
}