Thermal relic abundances of long-lived staus