Close pipes after extension run
See #2861 (closed)
From docs https://docs.gtk.org/glib/method.IOChannel.set_close_on_unref.html
Whether to close the channel on the final unref of the GIOChannel data structure. The default value of this is TRUE for channels created by g_io_channel_new_file (), and FALSE for all other channels.