closes mongo connection after callback

Today the crawler does not finish because mongo connection is always open