[PDI-11389] KETTLE_MAX_JOB_TRACKER_SIZE not taken into consideration

Memory leak caused by JobTracker when number of children exceeds KETTLE_MAX_JOB_TRACKER_SIZE

refactor of https://github.com/pentaho/pentaho-kettle/pull/276 (thanks for the contrib @daschg!)