A single thread is now created removing the need for joinThreads.

This should hopefully restore nimbuild's reliability as the infamous
nimbuild corruption seems to be related to joinThreads.