clean up old connection after failover for TCP and TLS // improve TLS failover detection
clean up old connection when it fails to send with TCP and TLS (do not keep a broken connected socket)
rename keepalive params // improve TCP and TLS timeout detection on broken established connections