Hopefully solved a deadlock with Lua code calling datasource.set