Add more CloseTicket logic.