Remove mongo connection class.