make done chan with buffer