Cancel all enqueued commands and those awaiting acknowledgment while the command loop is not running.
Canceled commands will be terminated with return code MQTTRecvFailed.
Example