finish stream