Ability to set maxWorkers and queueing

Now about to queue tasks so that we do not exceed a maximum number of
workers.