[libvirt] Call to virDomainIsActive hangs forever