Shutting down a new well can cause a lot of problems. This is rarely done unless intended not to return to production.
That is less true now than 20 years ago and will be lss and less true as time goes on, barring the government shutting down the oil industry altogether, which might well occur in the next 18 months.
Back in the early 1980’s I roughnecked for a couple of summers. The first summer all of the holes were “dry”. The geologist said that we had stopped just before hitting the production zone. So I guess the thinking was to drill most of it, and then finish the last of it when the oil prices were higher. (Labor higher as well). And take the tax write-off on a dry hole.
But I’m guessing that once you start producting, esp. with fracking, you want to keep the product flowing.