// force connection to be established
mongoClient.getDatabaseNames();
DBCollection ChangedLink = db.getCollection(Links);
BasicDBObject newLink = new BasicDBObject("name", wire.getSource()
.getName()).append("time", System.currentTimeMillis())
.append("linkType", "Wire")
.append("linkId", wire.getName())
.append("removed", wire.getDestination().getName());