there was a lot of international pressure (and financial aid) involved in finally getting Ukraine to close it, since the plant was still providing a meaningful chunk of the country's power
reactor 3 was actually the last one still operating, the other reactors (including the one that exploded) had already been shut down years earlier, it kept running until Ukraine finally decommissioned it in 2000.