Fix hang when Websocket Read is interrupted