Added handling in case WinRM is unable to initiallt connect to an instances

Change-Id: I96e350ebf8e5949dd434ce0c0518d48162d9b625
Merge "Added handling in case WinRM is unable to initiallt connect to an instances"