reduce number of threads in tests