Fix threadpool testing errors

Potential fix for #11 

https://docs.python.org/3.2/library/concurrent.futures.html#concurrent.futures.Executor.shutdown