The only exception is the very rare circumstance in which jury tampering or "fixing" of a jury can be proved - and even then it does not guarantee prosecutors a second "bite at the apple".
Did the prosecutor fail, or was this the outcome the DA’s office wanted all along?