dispose
Closes the WebSocket. Active subscriptions stop receiving events.
This is an asynchronous operation. The WebSocket is closed shortly after this call. Disposing WebSocketNetworkTransport is not necessary but allows reclaiming resources more rapidly.