Do not destroy the sub-communicator until we have freed its attributes,
per the reason cited in the comment in the code.