Retry ssh connection 30 times