Revert "Merge pull request #19 from budjb/threads"

This reverts commit edeafd7eccf3df8c54882e5fefd24791c2a1e572, reversing
changes made to 154d719aac34776c207fc911f185c00b3228f132.