[libvirt] [PATCH] virsh: Fix possible deadlock when virsh is about to exit