- handle case where the source streams continued after merged stream had closed
- added unit test for merge where closeOnError is enabled