Wait for server exit on quit