implement client_disconnect()