Correctly handle stream restart.