cleanup TCP reference