[libvirt] [PATCH] replace last instances of close()