Fixed bug in disconnect messages.