What you write is somewhat contradictory to the problems I encountered in Android, but perhaps I don't understand something. Do you want to say that if the MQTT Client in Toit has successfully started (by the way, I noticed you implemented reconnect inside client.start and there is only one reason for fatal connect reject: exception NOT_AUTHORIZED) and subscribed, then it will work forever and spontaneous loss of connection in the form of disconnect is impossible during the data exchange? At the same time, I'm not even talking about disconnecting the Internet or modem. In Android, I managed to solve the reconnect problem for such situations and I would like to find out if it is possible to write a similar indestructible application in Toit? Indestructible app in the sense that even if the Internet disappears, the application willn't stop or crash, and when internet will restored, app will reconnect to the broker.