1129488 - Adjusts mongoDB auto-reconnect to never stop attempting

https://bugzilla.redhat.com/show_bug.cgi?id=1129488

This was already fixed once with #1118 and those changes are correctly applied in the 2.4 release, but in the merge forward to 2.5 the changes got lost.