Change setting to weak from dnodeOpts. this is far more elegant