move defer ttlManager.close (#20650)
move defer ttlManager.close (#20650)

Signed-off-by: ekexium <a7e51983389e91cc491e09ed0df051bc813f5e22@gmail.com>
coocood/tidb,pingcap/tidb,kyle-wang/tidb,kyle-wang/tidb,ngaut/tidb,c4pt0r/tidb,ngaut/tidb,c4pt0r/tidb,ngaut/tidb,kyle-wang/tidb,pingcap/tidb,c4pt0r/tidb,kyle-wang/tidb,pingcap/tidb,ngaut/tidb,c4pt0r/tidb,pingcap/tidb,c4pt0r/tidb,kyle-wang/tidb,EvilMcJerkface/tidb,ngaut/tidb,XuHuaiyu/tidb,c4pt0r/tidb,EvilMcJerkface/tidb,ngaut/tidb,pingcap/tidb,coocood/tidb,pingcap/tidb,kyle-wang/tidb,XuHuaiyu/tidb