Plug another memory leak in Main.

Not feeling so enthused about Streams any more.