fix memory leak (no more infinite mongo pools)