[Libguestfs] [PATCH] lua: improve handle closing