Code

main: call g_io_channel_unref() early