if the table is being grown we need to wait for it to finish

if a thread is accessing a list from the previous items array and later locking the list
is not safe because there is a race and the list (or the old items array) might be released
by the thread growing the table before the list is being locked by the initial thread