threading iterator/cogroup works