Send SHUTDOWN message before disconnecting