Make sure that input isn't iterated more than once either.

HadoopPipeline needs to protect itself as well as its clients.