Disconnect Method
Disconnects the last successfully made connection.
Syntax
public func disconnect() throws -> Void
Remarks
This method disconnects the last successfully made connection or the current one if the call is made within a ConnectedEntry event.