Debug shutdown method in in_tail