Exit rights open complex pathways to cooperation