I tend to replace my car when it starts to show signs of future problems, not when I'm up to my eyeballs in repairs.
We shouldn't really be treating software differently. The liability for a mission critical system that works but cannot be repaired climbs over time.
Just because it works doesn't mean it isn't broken.