South Korea closes Japan-funded foundation