Why hasn't Andrew been taken care of then?
Andy has a powerful family and the Establishment behind him and is dodging the authorities at every turn, avoiding them like Satan avoids the cross. Andy isn't about to blab, not on his own and not by force (by being incarcerated).
Epstein lacked powerful protection (like Andy has Liz and the Establishment, which is keen to avoid any mess, but this kind of clusterf*ck especially), which was his main problem, really. He rose on his own (as it seems) and his only safety system was to collect dirt on people, but when you're dead all that dirt is for sure going to stay hidden, so that tactic is rather lacking.
Ghislaine Maxwell is being kept safe because she has also so much dirt and even though her father was also a dirty crook (and seemingly killed), she's been on the "in" with that certain upper crust crowd since birth, so they are more likely to protect her than Epstein who came in on his own as adult.
Dear old Lizzie took away the bare minimum from Andy, which she had to, to save face and stay with the public on good terms and even that only happened after Andy's stellar interview. Had he not given that clusterfck of an interview, Lizzie would still have Andy around with all his decorations. Heck, even after that she was merrily pictured with her favourite Andy grinning away in the car on her way to church together with him (Sandringham, ca Xmas/New Year). That speaks volumes.
Once Diana gave her interview to Bashir for Panorama, that's when the divorce was ordered and she was sidelined by Anne, Margaret and others and more that happened in ways of ousting her. She never wanted a divorce and I'm not certain Charles wanted it either. But once Liz gives the order, there's no backing out. That's also why Andy and Fergie were divorced, Liz ordered it there too.
Moral of the stories, never talk and better be born to them, otherwise...