If you run the app in automatic mode and the 5 minute timer triggers during an internet loss, the process exits. Since you will most likely use the automatic mode unattended it makes sense to automatically recover from a connection loss - as you risk hours of downtime otherwise. This PR fixes that.
We could go a bit more fancy with custom return types but I don't think this is required here.
If you run the app in automatic mode and the 5 minute timer triggers during an internet loss, the process exits. Since you will most likely use the automatic mode unattended it makes sense to automatically recover from a connection loss - as you risk hours of downtime otherwise. This PR fixes that.
We could go a bit more fancy with custom return types but I don't think this is required here.