Quit now works for both client and server.