client connection cleaning on server