This will cut power to your thermostat and keep you from accidentally shorting electrical components of your system when ...
[Kerry] poked at the nearly combusted unit and found the root cause: the spot welds holding the wires to the thermostat terminal had become loose, increasing the resistance of the connection.