catch ssh connection exception