I'm using mongo java driver 3.9.0 and the close() method from MongoClient is deprecated. The problem I see is that MongoClient implements Closebale, and that's why there is this close() method in there. I couldn't find any replace to it yet and I was looking here: http://mongodb.github.io/mongo-java-driver/3.9/javadoc/com/mongodb/Mongo.html#close--
How can I replace it so I don't have to use the deprecated method?
Thanks!