Remove socketKeepAlive option
PyMongo 3.5:
Deprecated the MongoClient option socketKeepAlive. It now defaults to true and disabling it is not recommended, see does TCP keepalive time affect MongoDB Deployments?
Опция теперь включена по умолчанию и выдает deprecation warning