'Shutdown this process'

def shutdown(self, c):

    try:
        util.debug('manager    received    shutdown    message')
        c.send(('#RETURN', None))
    except:
        import traceback
        traceback.print_exc()
    finally:
        self.stop_event.set()
