Use g_io_add_watch for the named pipe