Currently there's no upper bound on thread count. Should probably cap at number of available CPUs. Investigate whether this is the right heuristic and implement the cap.