Well, it wouldn't function if `ttl` is 0 or if `claim_interval > ttl`. We could add checks here to ensure these cases do not occur.