I just sent out 2 systems that will be connected to Ethernet in remote locations. This was running on 2 Arduino based micros and I ended up using the Watchdog feature on both micros to make sure if the code locked up that the device would reset and reconnect as if nothing ever happened. This worked exactly how it should.
I would recommend we figure out a way to use the Watchdog timer on the Electron also.
Here is a library for the Photon Watchdogs on the Photon
If you read down to @ScruffR 's last post it looks like there was no support for the Watchdog timers on the Electron yet and he pinged @mdma and maybe we should ask @BDub about the Watchdog timer on the Electron. What is the status of the Watchdog timer function on the Electron and Photon?