[bug 1062466] Pin the thread during shortlinking task.

This *should* fix the tracebacks we are seeing in prod.

quick r?