Check if address is reachable after disconnect.
Review the handling of connection error.