Fixed ThreadPool, did not actually close all threads when instructed to
do so.
Merge pull request #28 from NielsZeilemaker/test-cleanup

Fixed ThreadPool, did not actually close all threads when instructed to