statistics: disable shutdown code for shared memory