Fix bug in `is_client_ssh_up', and increase wait time