correct end_time for running jobs.

Resolves #164