Fixed threading issue.
Default to using 4 threads.