Fix lua_websocket_new in case the Lua script rejects the connection