Lua websockets should use the cooperative Lua threading model with timeouts