Race fix
thread-safe UniqueQueue