Added exception handler to thermostat read line in case we can't make contact