adding easier way to kill window and server.