Default number of threads to 4.