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

Shutdown the thread pool when killing the client