Ruling party gives ultimatum to South African president