server/backends/MongoDB-backend.js
function CreateConnection (backend) {

    backend.Debug (4, "MongoDB creating connection [%s]", backend.uid);
    MongoClient.connect(backend.uid, function (err, db) {
        if (err) {
            backend.Debug (0, "Fail to connect to MongoDB: %s err=[%s]", backend.uid, err)
        } else {
            backend.Debug (4, "Connected to MongoDB: %s", backend.uid)
            backend.base = db;
        }
    });
}
function CreateConnection (backend) {

    backend.Debug (4, "MongoDB creating connection [%s]", backend.uid);
    MongoClient.connect(backend.uid, function (err, db) {
        if (err) {
            backend.Debug (0, "Fail to connect to MongoDB: %s err=[%s]", backend.uid, err)
        } else {
            backend.Debug (4, "Connected to MongoDB: %s", backend.uid)
            backend.base = db;
        }
    });
}
function CreateConnection ( backend ) { backend . Debug ( 4 , "MongoDB creating connection [%s]" , backend . uid ) ; MongoClient . connect ( backend . uid , function ( err , db ) { if ( err ) { backend . Debug ( 0 , "Fail to connect to MongoDB: %s err=[%s]" , backend . uid , err ) } else { backend . Debug ( 4 , "Connected to MongoDB: %s" , backend . uid ) backend . base = db ; } } ) ; }
10s timeout in between two MONGO reconnects ConnectDB is done on at creation time
10s timeout in between two MONGO reconnects ConnectDB is done on at creation time