MQTT: WIP, re-organized disconnection handling, now keep track of connection status and reconnect accordingly.
This fixes bug with non-reconnecting to broker when having no published variables.
*.pyc
**/__pycache__
.vscode
**/build/**
*.class
**/.svghmithumbs/**
**/my_*.der
**/my_*.pem
tests/tools/Docker/requirements.txt
**/management.json
**/.secret
doc/_build/**
doc/locale/**
C_runtime/**/*.d
C_runtime/**/*.o