Handling errors on remote server connection failure

Hi everyone.

I’m using Kantu to login to some web pages of my company in different servers. I’ve been trying to handle error connections when the remote server is not available, using !LastCommandOK and/or !StatusOK but I can’t doing so as far. I was thinking to get a timeout or something. But instead, the execution stays the open command

The part of the json is:

(Set error ignore)
{
“Command”: “store”,
“Target”: “true”,
“Value”: “!errorignore”
},
(set a timeout of 10 senconds)
{
“Command”: “store”,
“Target”: “10”,
“Value”: “!timeout_wait”
},
(set the IP address in a variable)
{
“Command”: “store”,
“Target”: “http://NN.NN.NN.NN”,
“Value”: “serverIP”
},
(connect to server on given IP address)
{
“Command”: “open”,
“Target”: “${serverIP}”,
“Value”: “”
},
(validate last command execution. If not ok, jump to line 66 of source view)
{
“Command”: “gotoIf”,
“Target”: “{!LastCommandOK} == false”,
“Value”: “66”
}

Thanks in advance!