def close(self):
        self.keep_running = False
        self.sock.close()
close websocket connection.
dataset/ETHPy150Open tomwilkie/awesomation/third_party/py/websocket-client/websocket.py/WebSocketApp.close