[libvirt] Crash while using virConnectRef