Likewise, can we extract this loop into a getThreadArray helper?