add threads for each job