Do we want to sleep for few seconds before trying again? Or maybe to setup timeout (in the ssh_open? methods bellow) to something higher (5 secs?) because my cloud is VERY slow :-)

+1 But I am unable to test as OS1 does not work today.