Substitute multiprocessing.Pool.map for non-parallel map