Fix simulation with fast timers.
Add reconnecting websocket.