sleep stuff for Lua functions, remove time stuff for of_tools and of_lua_api