Properly handle client-side /quit