-
Leonardo Aramaki authored
Close the socket if we get an error because MethodCallHelper class keep a reference to socket and it has objects spread all over the place. Thus this may cause inconsistencies that are hard to keep track, so it's safer to close the socket so that the websocket thread will know and try to reconnect.
e8cdd16d