I repaired a Bradford White 50-gallon gas water heater that had been intermittently shutting off. Upon inspection, I discovered that the gas control valve was malfunctioning, causing the pilot light to extinguish. I replaced the faulty gas control valve and relit the pilot. I also checked the thermostat and ensured the temperature was set correctly. After the repairs, I monitored the system for an extended period, confirming it remained operational without shutting down. The customer now has consistent hot water, and the system is running efficiently.