When the Hi limit switch is popped it is telling you that the water is too hot (usually about 160 - 190 degrees ) . The main reason for the water to be too hot is the thermostat is malfunctioning . I would start with replacing the thermostat and a new hi-limit thermostat.