Terminate when decorated iterator terminates.

Closes #15.