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