Fix a bug when setting ssl verification false