cleanup of channels