Replace failed gate valve with a new ball valve as the whole home shutoff. As I am doing this I will also completely flush the water heater. Once completed everything was checked for leaks and the water heater was refilled and ignited. Everything functions properly.