Changed re-registration to happen up to a full second before TTL expiration