'Quit Pupy Shell'

def do_exit(self, arg):

    for job in self.pupsrv.jobs.itervalues():
        job.stop()
    if self.dnscnc:
        self.display_success('Stopping    DNSCNC')
        self.dnscnc.stop()
    if self.pupsrv.server:
        self.display_success('Stopping    listener')
        self.pupsrv.server.close()
    return True
