[PATCH 2/2] server: Don't overflow if timeout doesn't fit into int range in get_next_timeout.