close tc_event_t socket fd