fix not use connectTimeout

fix when proxy is null not use connectTimeout