[libvirt PATCH] tests: fix deadlock in eventtest