TCP: fix a bug that triggers large number of TCP RST by mistake