[libvirt] [PATCH v2 3/4] vircommand: Separate mass FD closing into a function