removes all references to restartMongo().