Prevent rapid on/off/on/off with heatsink cooling fan