avoid closing yielder prematurely
Merge pull request #597 from metamx/fix-yielder-close

avoid closing yielder prematurely