OXON HILL, Md. (AP) -- Hundreds of thousands of people in suburban Washington are sweating through a punishing heat wave under orders to avoid long showers, turn off sprinklers and think twice about flushing the toilet.
Carwashes, day care centers and fast-food restaurants shut their doors Wednesday. And the military base that is home to the president's Air Force One was reduced to essential operations.
The reason for the restrictions: urgent repairs to a nearly 50-year-old water main in Prince George's County that authorities said was in danger of exploding.
More than 200,000 residents and businesses in the county are under mandatory water restrictions, possibly for days, while the mercury is expected to climb into the 90s.
The warning to the public came late Monday night, giving people about 24 hours to stock up on bottled water and prepare for days without washing clothes or dishes.
Still, things could have been worse. Officials initially warned that faucets could run dry for several days during the repairs.
But on Wednesday, officials said they were able to divert enough water to keep it flowing. They said the water main should be back in service in two or three days if nothing unexpected happens.
"If we continue to conserve we're confident that the system will remain full while we complete the repairs on the pipe and return it to service," said Jerry N. Johnson, general manager of the Washington Suburban Sanitary Commission.
Johnson said at a news conference Wednesday afternoon that a fiber-optic detection system found 37 cracks in the nearly 50-year-old concrete main in a period of four to five days. Had the 4 1/2-foot main not been shut down, it would have exploded, possibly creating a large crater, Johnson said.
The concrete pipe was installed around 1965.
Crews were able to avoid shutting off water to residents because they were able to close a large valve nearby. The valve had faulty gears that had to be modified in order to work properly, Johnson said.
Residents were told to postpone using dishwashers and washing machines, to limit the flushing of toilets and to take short showers.
Johnson defended the commission's decision to warn people they would be without water because he said it didn't become apparent until late Wednesday morning that a work-around was possible.
"We know that businesses had to shut down. We caused some angst," Johnson said. "But we're very pleased that it ended up this way as opposed to the pipe blowing out or having to shut it down and having people without water."
Joint Base Andrews, which is home to Air Force One and has 16,000 residents and workers, shut down all but the most critical operations. A base clinic was accepting only emergency patients.
At the Gaylord National Resort and Convention Center at National Harbor on the Potomac River, the hotel had closed Wednesday, affecting a small number of guests, but planned to reopen Thursday.
At a kidney dialysis center in Oxon Hill, a tanker truck pumped water into the clinic, which uses 5,000 gallons a day. And a Shoppers Food Warehouse just off the Capital Beltway in Oxon Hill was restocking the shelves with hundreds of jugs of water after customers bought them all.
Residents were delighted the crisis wasn't as bad as they feared.
"Thank the Lord!" said Tina Wiseman, a cashier, after learning that her water would not be shut off.
"I can't live without water for five days. I'm clean. I take a lot of showers," she said.
John Smith, a bus driver who lives in Temple Hills, had two 24-packs of bottled water in his shopping cart when he found out his water would not be shut off. He said he planned to buy them anyway, but grumbled: "Fine time to tell everybody."
"I just went home and filled my bathtubs up. I've got eight other buckets around the house," he said.
Tony Hall of Washington was surprised by the effects of the water crisis.
"I went to McDonald's, and they were closed. It takes a lot to close down a McDonald's," he said. "If a McDonald's closes, the world is about to come to an end."
Gresko reported from Washington. Associated Press reporters Sarah Brumfield and in Washington and Brian Witte in Annapolis contributed to this report.