The wilful permitting of any oil or gas well to remain uncapped, or the wilful opening of any valve to admit air in a gas pumped territory in which the gas pressure is less than atmospheric pressure, is declared to be a misdemeanor, and is hereby prohibited; and, in case any well in such territory is opened for the purpose of cleaning, repairing, drawing tubing, drawing rods, abandoning, et cetera, the same must not remain open continuously for a longer period than twelve (12) hours, unless work in connection with cleaning, et cetera, is being conducted more than twelve (12) consecutive hours.
58 P.S. § 6