Fix close channel