Move clear_tasks capability to wait instead of join
Merge branch 'master' of http://github.com/iambald/threadpool