lua/uloop: 'end' is the keyword of Lua, use 'cancel' replace it.