Add possibility to close channels (to be used later on).