I can't answer that question without knowing the details of he network between Vera and where you are sending the ssh command to.
Is the device guaranteed to be available and responsive 100.00 % of the time ?
Will the device always respond within a couple of seconds ?
Is the network between guaranteed to be up and responsive 100.00 % of the time ?
Will the network allow Vera to connect to the device within a couple of seconds ?
If the answer to any of this can occasionally be false, this solution can cause Vera to restrart.
There are many different ways to solve this depending on your programming skills in LUA (where you put timeouts on connections and responses) or in shell scripts ... where you return right away but allow a sub process to do the communications in the background).