revert unsuccessful memory leak fix; add mongodb pool size option