*/
programOpts.setInteractive(false);
try {
// run the remote stop-domain command and throw away the output
RemoteCommand cmd = new RemoteCommand("_stop-instance", programOpts, env);
cmd.executeAndReturnOutput("_stop-instance", "--force", force.toString());
waitForDeath();
}
catch (CommandException e) {
// 1. We can't access the server at all
// 2. We timed-out waiting for it to die