[libvirt] [PATCH] Fix potential events deadlock when unref'ing virConnectPtr