Fixed libvirt connection closing