Limit next_attempt_overflow to TIME_MAX, not INT_MAX
Found while examining legacy/trac#20499 code
issue