How to stop a Grid from auto-refreshing

I start the update Dp.setAutoUpdate(1000);
But sometimes you gotta stop

I found a way to kill all timers, but I think it’s not right

var highestTimeoutId = setTimeout(";");
for (var i = 0 ; i < highestTimeoutId ; i++) {
clearTimeout(i);
}