using a entry cache for duplicate checks, avoids deadlocks