Default num threads to 4.