Plus prosecutors don’t want to hold another trial (because that is what is required) if they already proved what they wanted to.
They will (likely) only charge perjury if you fuck up a third party’s trial or if your lies are provable and got you off the hook otherwise.