Added onFinish when the job if finished normally.