There is where you can use a function that captures the channel and guarantees that no matter how many times it is called that it only closes the channel once.
There is where you can use a function that captures the channel and guarantees that no matter how many times it is called that it only closes the channel once.