Topological cigar and the c = 1 string: open and closed