Implemented (untested) worker pool.