Switched multiprocessing segfault implementation to use a Pool