throw mongo connection errors