don't flush changes from batched_store when closing the store while shutting down the node