fix(odm-module): Implemented the preShutdown() hook to disconnect mongo and allow clean exit