test_suite: fix too early ssh after succeeding ping