Handling function calls from Lua in separate thread