catch more ssh errors when retrying instance connect