close dataSource on exit

it appears that the dataSource is not closed upon exit of a job.
Although this probably does not matter that much,
probably a good idea to implement this best practice.