Removed dead code. ts_adopt -> ts_add_sock