There have been a lot of problems with Whirlpool water heater gas valves. This one could have been due to the lack of a drip leg on the gas line. We made the code upgrade and installed a new gas valve which was still under warranty.