add separate --close-tlog command to cli