South Africa president closes Group of 20 summit amid another diplomatic spat involving the US