improved the queue system for JobRunner