python thread pool aims to looks like multiprocessing.Pool