Get rid of the magic numbers in the timeout.
Get rid of magic numbers in terminate_job.