add method for ending stream
bump version