fixes #41 - concating ended streams