Either way the jig would be up, but I feel like releasing prior to testimony would compel a witness to cooperate out of self-preservation and essentially spill the beans.  Releasing after the fact would just result in showing that testimony was perjured, and possibly result in throwing-out/nullifying any previous testimonies that person may have given.