'stop <sid>
Abort the running scan with scan ID, <sid>.'

def do_stop(self, line):

    c = self.myparseline(line)
    try:
        id = c[0][0]
    except BaseException as e:
        self.edprint('Invalid    syntax.')
        return
    d = self.request((((self.ownopts['cli.server_baseurl'] + '/stopscan?id=') + id) + '&cli=1'))
    if (not d):
        return
    s = json.loads(d)
    if (s[0] == 'SUCCESS'):
        self.dprint('Successfully    requested    scan    to    stop.    This    could    take    some    minutes    to    complete.')
    else:
        self.dprint(('Unable    to    stop    scan:    ' + str(s[1])))
