repaired expire time logic to force use of the configured max if timeout is indefinit...