Fixed a couple streams not being closed that I missed in the last commit.
These changes fixed updatetracker too.  :D