Without looking at your code you could speed up the ping timeout process for example: #include <Constants.au3> $sPingLocation = "autoitscript.com" $aPing = _PingIt($sPingLocation) If $aPing[2] Then MsgBox(0, "On Line (" & $sPingLocation & ")", "IP: " & $aPing[0] & @LF & "roundtrip-time in milliseconds: " & $aPing[1]) Else MsgBox(0, "Off Line (" & $sPingLocation & ")", "IP: " & $aPing[0]) EndIf Func _PingIt($sLocation) Local $sData = "", $line