passback mongod prog ref to cleanup