change: clean up before destroy tcp client.

Signed-off-by: liuyanghejerry <liuyanghejerry@126.com>