tracker-processing-queue: Added foreach function