fixed SSH2 connection method with missing break