'Run the server forever'

def serve_forever(self):

    current_process()._manager_server = self
    try:
        while 1:
            try:
                c = self.listener.accept()
            except (OSError, IOError):
                continue
            t = threading.Thread(target=self.handle_request, args=(c,))
            t.daemon = True
            t.start()
    except (KeyboardInterrupt, SystemExit):
        pass
    finally:
        self.stop = 999
        self.listener.close()
