Heater keeps shutting off and turning back on again. Replaced flame sensor and batteries in thermostat