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.
Edit PLC program
================
POU languages and type
----------------------
POU interfaces
--------------
Global variables
----------------
Located variables
-----------------
Resources, task and instances
-----------------------------
Copy-paste
----------