Infinite loop with a 10 second resolution