Added flag useThreads. False works.