Modify the logic of checking
1. remove the ping check
2. add timeout for ssh
3. make the check parallel