[libvirt] [PATCH 2/3] command: avoid double close