browser timer that runs only when the application is idle