Do not cache not connected ssh client

Do not cache paramiko.client if the connection fails.

Change-Id: I6105167f2221d45a88b6b37265e9bb6daf427c63
Fixes: bug 1277845
Merge "Do not cache not connected ssh client"