[libvirt] [PATCH v2 2/5] Ensure client is marked for close in all error paths