Shutdown the thread pool when killing the client
Merge pull request #17 from bendem/shutdown-fix

Shutdown the thread pool when killing the client