Make read_pref.js more resilient to transient network errors after a replSetReconfig