avoid throwing exception after window and pipeline have stopped