There has been some problems with race conditions and the caches, trying with some more locks and stuff to see if this helps.