[bug 1062466] Pin the thread during shortlinking task.