cleanup anr refactoring the clock