ensure mongo connection open