Stop
Ask the server to stop running.
This should ask the server nicely, and it will probably take 5+ seconds for the server to actually stop running after this request is issued.
You can check the process PID (which you can read out from the ServerState object) to see if the server is still running.