Now stops scanner on halt or reboot