Use OpenHAB to restart internet connect: https://www.elec-cafe.com/esp8266-automatic-restart-modem-or-router/