Handle larger numbers of threads