Update end time in job execution after job complete

Change-Id: Ifc8d2bd0901079884dd51cbf9a21b81ccfe81e99
Closes-Bug: #1239983