fixed issue with duplicating stream items during successive API calls