DDF-610 Created unit test to verify retry reading inputstream
DDF-619: Modified eventListener