Change the default thread num to 4

Reduce the default thread num to 4 because this will greatly reduce lock contention, and nowadays most CPUs used by PC are 2 to 4 cores.