d
filter can't use global.stopping

because of race condition