Finer resolution for checking that the max walltime is reached.