Add esc to close tc