Thanks Mike.

I figured it out myself, but didn't know of the halt bit. I'll put that in on my script, though if the server doesn't get a response to its ping, will it disconnect me?