fix importStream cleanup code