Great answer above for a temp fix, but ... I'd also advise a yearly maintenance agreement with a competent plumber that would include servicing your entire plumbing system, especially that heater located in an attic that has probably never been flushed or checked in the many years you indicate. // We spend thousands to take care of our cars then balk at the cost of servicing our plumbing on a regular basis that can reduce our worry and stress, protect our health, keep us safe, protect our homes, and enhance our comfort. // I can't remember the survey, when it was done, or who initiated it but if your plumbing is checked yearly then emergencies are reduced by approximately 85%. // Anecdotally, we've had maintenance agreement customers for many years and I can't remember any of 'em having an emergency. The cost for our service was $15.00 a month (or $200.00 yearly). To give some perspective, many folks with a Starbucks coffee "jones" spend more than that a week. // Last: Having an automatic leak detector that can shut off the water quickly should your heater even begin leaking should be installed in the pan under the heater ... and many insurance companies are now demanding them near all appliances or they won't pay for water leaks. // Good luck.