If it is all about economics and making the most money possible then I have an idea. If a company has no intention of ever producing the product again then why not sell the formula to someone else. That way they could squeeze out some money at the end rather than just sitting on the formula forever.