Thermostat sticking when it wants to would be my best guess. Since it cost all of $8 I would replace that first, remember to get the gasket unless you want it to leak.