disable websocket in server side