Event::Disconnected isn’t emitted when the connection is closed
Moved from tokio-xmpp#9 (closed).
This can happen when we send
Packet::StreamEnd
, the server then closes our connection, but the user never gets notified that the stream got closed.