Call streams end to trigger cleanup (fix #62)
Merge pull request #63 from pull-requests/memleak

Call streams end to trigger cleanup (fix #62)