Fix after renaming the event `job.finish` to `job.close`.