We get this error:  I suppose the cause is the reconnect behavior. `window` is not available in Node.