finish the job handler