Remove EOF and close channel