When HA restarts the proxy stays online and this loop occurs.
https://github.com/zachowj/node-red-contrib-home-assistant-websocket/issues/76#issuecomment-453877333