Proxy to retry on mongo Autoreconnect errors.

https://openedx.atlassian.net/browse/PLAT-71
If you made changes to this file from wherever you got it, please check in the official version in a PR before this one so that we can see what changes you made both now and in the future when someone's trying to upgrade it.