clear race condition of websocket writer