to clarify we do unpipe the stream at line 794 but if this call had started before we unpiped this could still be called