The purpose of a thermostat in an engine cooling system is to