WSGI specification requires that close() be called on iterable no matter what happens.
Merge pull request #824 from GrahamDumpleton/master

WSGI specification requires that close() be called on iterable no matter what happens.