Minor MQTT handling fixes
Maybe I don't understand in details, but seems to me that currently keep alive interval might not be met and that it is not checked whether reconnection succeeded.
Maybe I missed something, so please just take a look.
Edited by Michal Hrusecky