added possibility to shutdown threads pool
Merge branch 'master' into issue194
Merge pull request #206 from kofronpi/issue194

[COM] Issue194