I found an exception when using tmsmqtt control
TMSMQTTClient1.UseSSL := True;
TMSMQTTClient1. KeepAliveSettings.AutoReconnect := True;
If I turn on SSL mode, when I manually turn off the network, the connection will not be automatically reconnected,
If I turn off SSL mode, when I manually turn off the network, the connection will be automatically reconnected