StopIteration shouldn't be catched at this level.

fix #790