We added a property to SSHSession scripting object to specify socket timeout when establishing session, but this happened after vRO 7.3 release, so this change will be available in the upcoming vRO 7.4.
If you can't wait until 7.4 is released, I can check if we can make a tech preview release of SSH plug-in here in the community forum.