prevent deadlock on when DataStack gets deallocated
prevent deadlock on when DataStack gets deallocated

ruslanskorb/CoreStore,ruslanskorb/CoreStore,JohnEstropia/CoreStore,JohnEstropia/CoreStore,kaojohnny/CoreStore,kaojohnny/CoreStore