With option #define MQTT_DISCONNECT_RELAY_DEFAULT set to 1, all relays will be reset in case of MQTT disconnection to avoid a connected device being switched on while MQTT is not under broker control any more.