add disconnect to client