def METHOD_NAME(self):
    while self.running:
        (sockconn, peer) = self.s.accept()
        if self.running:
            conn = Socks5Connection(self, sockconn, peer)
            thread = threading.Thread(None, conn.handle)
            thread.daemon = True
            thread.start()