Thanks @boen_robot .
Your code / answer still works. I had a small but annoying issue upon failover when the existing connections do not switch to the new ISP. Clearing the existing connections using your code solved the issue.
Thanks @boen_robot .
Your code / answer still works. I had a small but annoying issue upon failover when the existing connections do not switch to the new ISP. Clearing the existing connections using your code solved the issue.