Fix bug of unref resources in Lua binding; fd method delete -> cancel.