stream is dead and so is this thread