stop on failure to connect to mqtt-broker
give time for clean disconnect