Fix thread leak caused by not shutting down the thread pool
Merge pull request #1 from zeffron/master

Fix thread leak caused by not shutting down the thread pool