Optimization - run the polling thread every 10 seconds.