The enhancement of the lifetime of carbon stripper foils by a slackening technique