Put the TCP connection periodic processing in tcp.c, where it belongs.