Proxy to retry on mongo Autoreconnect errors.

https://openedx.atlassian.net/browse/PLAT-71
We should probably make `wait_time` configurable.