[libvirt] Race/broken mutex when closing a connection