added extra section to try and reset quorumPeer address during certain execution paths