Cap number of threads for atomic primop testing