Make mongo db persist