The flight was close to the airport at Welkom, so the pilot declared an emergency with the control tower in Johannesburg