Attached is an image of the configuration I carried out, what happens is that the main link drops and comes back several times in seconds, the netwatch even with longer ping intervals still keeps disconnecting and connecting. The solution I thought of is that there is a waiting condition, the link drops, waits 10 seconds, and rechecks to see if it is still down, only after that disables the route.

Do you mean like inserting a
delay 10s
before the line running PrincipalDown script?
Double post, removed.