[libvirt] [PATCH v3 4/7] event-test: add timeout to exit event loop