prefer "ns_conn isconnected" over "ad_conn isconnected", since the latter might not notice changes in the connect state
Got a suggestion or an issue?
Discuss it on the Atlassian Community or
visit Atlassian Support for other options.