Add a -threads parameter to everything that runs in parallel.