Adding retries for ssh connection after network restart - BugID# 1370198

Change-Id: I8620f36a9da7918548aafd5af1dfdfc73d9242d8