Stop polling on route change