Fix error when jobs take longer than a minute to run