Use one thread as the default number of threads