Implement findMemory[ByUID] using interruptible breadth-first traversal