polling: explicitly check if we should stop instead of setting to none
1 file changed