Resolves #164, correct end_time for running jobs.
Merge pull request #212 from dnephin/164_incorrect_job_end_time_while_running

correct end_time for running jobs.