This article analyzes the conntrack kernel parameters and iptables rules due to which the TCP connection remains unclosed.