optimize: preallocate space for the "ngx.thread" lua table during API initialization.