Added periodic WiFi connection checking. Tornado is reseted well after connection change.