The state Department of Public Utilities ordered National Grid to call a halt to all non-critical work across the company’s entire service territory pending the results of the agency's review of the company's safety practices.

The order comes after mishap in Woburn on Monday in which National Grid had to shut off gas to about 300 customers after a worker doing routine maintenance inadvertently overpressurized the system.

Overpressurization is thought to have been the cause of natural gas fires and explosions in the Merrimack Valley about 20 miles away last month that killed one and injured about 25. That area is serviced by a different utility, Columbia Gas.

Columbia Gas says it has replaced about one-third of the pipelines it plans to replace in Lawrence, Andover and North Andover.

National Grid says the situation Monday afternoon in Woburn was quickly corrected, no evacuations were ordered, and there were no reports of injuries or property damage.

A spokeswoman says the company hoped to have gas restored to all affected customers later Monday.

The DPU is requiring National Grid to have an inspector on location for all work that could lead to abnormal pressurization until a review of the company's safety practices is complete, according to DPU spokesman Peter Lorenz. The department is also in he process of hiring an independent evaluator to assess, "out of an abundance of caution, the safety of pipeline infrastructure throughout Massachusetts," he said.

Since June, more than 1,200 gas workers have been locked out in a labor dispute with National Grid. The utility said the cause of Monday's pressure spike will be investigated, but the crews involved in the work were management employees.