message server - added onDisconnect