tcp: fix tcp_connection_cleanup() with uninitialized elog