[libvirt] [PATCH] tools: fix check_guests_shutdown loop