[tmpod] randomize grace period