code: def disconnect_from_websocket(self):
          
          self.logger.warning('Disconnecting from websocket')
          self.logger.info('Stopping keep alive thread')
          self._ws_keep_alive.stop()
          self._ws_keep_alive.join()
          self.logger.info('Stopped keep alive thread')
          try:
              self.logger.warning('Disconnecting from websocket')
              self._ws.close()
              self.logger.info('Closed websocket connection')
          except:
              self.logger.debug('Couldn\'t terminate previous websocket connection')
docs: Disconnects from the websocket
  
          Args:
              None