I could not figure out how to add a comment to the original post. It was _not_ solved. I wanted to share an alternative solution I figured out after months of ending up on this post.https://reergymerej.github.io/blog/2020/11/17/pulse-secure-vpn-automation.html
This shows you how to use Automator to suspend/resume a connection.
@reergymerej Thank you for sharing this info with us, I have updated the old thread with links