added ability to stop and terminate a server from the CLI