Don't palloc_free() the initial thread, because it's not allocated