Fix missing TCP close

Track TCP open connection count.