lazy load mongo connection in Elector

work around possible race condition with config initialization by lazy loading the mongo connection