MQTT: Implements reconnecting in publish thread in case thread is waken-up but client is disconnected.
Note: paho's lostConnection callback got already disabled in previous commit.
<?xml version='1.0' encoding='utf-8'?>
<BeremizRoot URI_location="ERPC://localhost:61131">
<TargetType/>
<Libraries Enable_Native_Library="true" Enable_Python_Library="false"/>
</BeremizRoot>