Adding threads related to sample jobs