Added timout exception handling to ssh connection calls