Better to back off exponentially with a cap.  For example, 1s, 2s, 5s, 10s, 30s, 30s, 30s...  Could you do an array of sleep times instead of an equation?