Proxy to retry on mongo Autoreconnect errors.

Reviewed in https://github.com/edx/edx-platform/pull/5568.