Client now correctly sends out disconnect message.