Unclear with all the flip operations if there is some kind of attachment (exchange of channels), the other 2 channels created in the function are also cleaned up.