Properly check for connecting or connected status before reconnecting
Note, in our context, is_connecting() includes the resolving part as well as the actual connection (if we are using c-ares) fix #3048
This commit is contained in:
Note, in our context, is_connecting() includes the resolving part as well as the actual connection (if we are using c-ares) fix #3048