'Signal runner to stop and join thread.'

def stop(self):

    if self.scanning:
        _LOGGER.debug('Stopping...')
        self.scanner.stop()
        _LOGGER.debug('Stopped')
        self.scanning = False
    else:
        _LOGGER.debug('stop()    called    but    scanner    was    not    running')
