Adding polling interval to the scanner.