Capturing Net Client Error if Server Not Running

Hi glv!
Thank you so much for the solution to my problem!

Kind of embarrassing, I looked through the net library reference and did not notice active().

cheers,