[libvirt] [PATCH 2/2] avoid closing monitor twice