[libvirt] [PATCH] command: avoid potential deadlock on handshake