parameters: (self)
docstring: Close the websocket client connection.
docstring_summary: Close the websocket client connection.
docstring_tokens: Close the websocket client connection .
function: def terminate(self):
          """Close the websocket client connection."""
          self._ping_callback.stop()
          self._ws.close()
function_tokens: def terminate ( self ) : self . _ping_callback . stop ( ) self . _ws . close ( )