added option to have thread pool size limited
removed enumerable test
Merge branch 'thread-pool'