Finer reasons and control when using the stop command.
If the execute command fails for whatever reason, try to directly open a socket to the server port, if it throws an IOException, it means there is no server listening on that host:port.
Changes the status to stopped.  This isn't meant to be a fix for https://ortussolutions.atlassian.net/browse/COMMANDBOX-123 but it could help in other situtations, like a dirty reboot.