Added batched removing threads
Merge pull request #150 from nmusienko/thread_remove

Added batched removing threads