Move stream reset inside loop so that every listener gets the same state
requested to merge github/fork/litvinovg/fix-changelisteners-regression into sprint-dynapi-2022-feb-staging
https://github.com/vivo-project/VIVO/issues/3647 What does this pull request do?
Re-apply commit that was accidentally reverted during i18n sprint How should this be tested?
A description of what steps someone could take to:
Reproduce the problem you are fixing
Create two change listeners, second doesn't get data from InputStream as it was already used
Test that the pull request does what is intended.
Create two change listeners, second InputStream should get the same data without using multi threading
Interested parties
https://github.com/orgs/vivo-project/teams/vivo-committers @roflinn @brianjlowe @chenejac