Changing a function name, checking if channels have been closed