Don't leak connected client for username if not connected.

We should be purging the user from the `connectedClients` list if there are no more connected clients in `onClose`.