fixed websocket core.async bug