use websocket instead of comet