Handle client disconnect.