Stop update uptime loop after view is removed