mongo client initalization check