warning for number of threads