Threading sanity check.