Ensure the Job.after_complete callback is only invoked if the job successfully completes.