Fix #124: case when merge does not end the stream