Scheduler now sets an expiry to its key in redis.