Parallelize checkTargets.