Rules for tasmota plug (watchdog) based on mqtt

Hi, so i’m trying to create timer once expires toggles the relay when mqtt is disconnected.

Rule1
ON Mqtt#Disconnected DO RuleTimer1 300 ENDON
ON rules#timer=1 DO Backlog Power1 0; Delay 1; Power1 1; ENDON
ON Mqtt#Connected DO Backlog ruletimer1 0 ENDON

If mqtt online then it cancels the timer. But this triggers the rule entire time when it’s on

17:19:19.946 RSL: RESULT = {"T1":0,"T2":0,"T3":0,"T4":0,"T5":0,"T6":0,"T7":0,"T8":0}
17:19:20.811 RUL: MQTT#CONNECTED performs "Backlog ruletimer1 0"
17:19:20.854 RSL: RESULT = {"T1":0,"T2":0,"T3":0,"T4":0,"T5":0,"T6":0,"T7":0,"T8":0}
17:19:21.818 RUL: MQTT#CONNECTED performs "Backlog ruletimer1 0"
17:19:21.860 RSL: RESULT = {"T1":0,"T2":0,"T3":0,"T4":0,"T5":0,"T6":0,"T7":0,"T8":0}

Any idea how I could just have it trigger when mqtt is connected & timer is running?