Automatic tcp context dying