public void close() throws IOException { client.close(); }
@Override public boolean close() { mongoClient.close(); return true; }
public void shutdown() { if (mongoClient != null) { mongoClient.close(); } }