Pause the scanner functionality