method

disconnect

disconnect(reconnect: true)
public

Uses the internal channel to disconnect the connection.