Work around multiprocessing limitation