kill the server process after launching