example_all: test that disconnecting and reconnecting xmpp works properly