I think RemoveCacheCommand has to wait for all the pending transactions on that cache to end.