Add destroy handler for g_io_add_watch