Add timeout to total duration after last retry