Staged concurrency kit for Lua