Added function to get new tasks from JobTracker