Performed operational inspection of air handler and systematic check. We found out that there was a short to the thermostat when the system operated under electric heat strips. The holding coil on the contactor would slightly short to ground without popping the fuse but would cycle the thermostat off and on when in defrost mode.