So we can eg change polling loop frequency by setting TOTAL_DURATION
So we can eg change polling loop frequency by setting TOTAL_DURATION