Update check_mongodb.py

fix the mongoclient issue