simple EvictingDeadQueue implementation without guava