// If we're still running after waitFor() returns, means stop() has not been called
// so the process has returned unexpectedly
if (isRunning())
{
stop();
if (logger.isEnabledFor(Logger.INFO)) logger.info("Unexpected exception (maybe the port " + getPort() + " is already in use)");
}
}
catch (InterruptedException x)
{
if (logger.isEnabledFor(Logger.DEBUG)) logger.debug("Process has been interrupted", x);