Fix bug
Process client disconnect properly