stopProcess

Stops the server process gracefully. Tries destroy() first, then destroyForcibly() after a timeout.