When the water gets to temp the pilot light goes out with the main burner.
Anyone knows what causes this problem. Im going to change the valve (the heater is 10 years old).