[libvirt] [PATCH v3 5/7] event-test: unregister callbacks & close conn on exit