fixed allocator does not released for shutdown