multiprocessing-safe pool