Improved the use of multiprocessing by moving from Process/Pipe to Pool API.