I don’t believe it to be a bug.
I think it attempts to reconnect the broken permalink. So my guess is that it still was not reachable and that as long as there is attempt to reconnect, there is no change. Permanent means permanent.
Perhaps though, use the event to trigger your script ?
Keep your script in a loop until it re-establishes connection.
Kinda what a permalink does but will change the stat of your connection.
You need to assign a command to the script and call it on the event.
You could also keep the permalink, use the event to change the control state, where you assign different CT’s in a profile that keeps everything else the same.
In all, that makes most sense to me for what you want.
Thinking out loud again !
But I should have added to that a second on event to turn the control state back to normal when the node is connected again.