Once those death traps reached 20 years in age they should have been retired. But if they were to be used after that, there should have always been a back shuttle on a 12 hour( enough time to fuel and pre flight) stand by for rescue. After the mission that standby shuttle would be the next go shuttle, etc.
The orbiters were only used a third of their design life cycle.