More fixes found in test cases when JVM assertion check is turned on
Automation: Fix SSH connection test

And increase default retry to 10 times, each 30 seconds.