“God news shareholders! We have decided that we didn’t make enough sales this quarter so we have EOLed a whole range of products!”
We fix it when it breaks. We replace it when even the aftermarket doesn't supply the parts to keep it working.
When you’re exposing a microcontroller to the internet that controls the conditions that physical inventory is held in, it’s probably best to make sure you’re getting security updates.