Client.stop()
DESCRIPTION
Stop a client for final cleanup, this function is blocking until no more callbacks are in progress or on the event or callback queues.
If SDK logging has been configured, this function MUST be called, otherwise Client instances are leaked.
DECLARATION
public func stop()