stop the server as part of an uninstall

this fixes #10, by ensuring that the server is stopped before the install directories are removed