Fix on-close handler.
Merge remote-tracking branch 'refs/remotes/origin/dev' into user-list
Merge remote-tracking branch 'refs/remotes/origin/dev' into user-list
send user list to newly connected users.