this an ugly workaround that wasnt suppose to be pushed. Im sorry. (the reason was the generator can not be pickled, so it fails when returning a generator from the worker, due to multiprocessing).
let me re think about it..