Polling with multiple views

Hello Community,
I got the Problem that i have multiple views, that set pollingIntervall and after ViewChanged set the polling intervall to -1 again.
But if i think if i do this in a view parallel running threads of viewchange may be in there own polling intervall which shouldn’t be interrupeted. Same question was asking by another member as a comment see here

https://vaadin.com/wiki/-/wiki/Main/Using%20polling

Someone got an idea how to solve this?