code: def run(self):
          
  
          self.ws = self.connect()
          while True:
              try:
                  data = json.loads(self.ws.recv())
                  self.handle(data)
              except json.decoder.JSONDecodeError as e:
                  logger.fatal("No data on socket...")
docs: Overrides run method of threading.Thread.
          Called by DiscoBot.start(), inherited from threading.Thread