There is another solution, not so good but it works like a quick fix:
CMD-SHELL, echo "Ok" || exit 1
It uses icmp protocol to comunicate to the machine.