A bit of cleanup.
Try to schedule a Wifi restart when required.
Authored by: dannybackx 2019-03-20
Parent: [r195]
Child: [r197]