ADD: All channels are now closed. Oh and now the wait group is used...