Added ping test before making SSH connection