Fix for the network/disconnect issue

Fixed an issue where the DHCP address lease would expire and the sketch
could no longer connect to Temboo. Added a counter to restart the
networking stack at various intervals to keep this from happening.