Remove PyMongo object in app.py.