using yield in multiprocessing.map crashed..