disconnect() {
    if (this._state === connectionStates.disconnected) {
      return
    }

    this._disconnect()
  }
End the current stream and set state to disconnected.

No more data can be sent until connected again.