Try not to include irrelevant threads in the critical path.