Connect the heater boiler through a relay instead of direct to the thermostat
I talked to a local HVAC repairman, and he said it should work, so I did it, and it works.

Here's what the circuit looks like: