Zalo interview question

How does TCP terminate the connection?