add MongdbDB disconnect handler when ndomod shutdown