handle client connection quit