finalize all jobs