More ThreadLocal protection stuff in PrefetchQueryPlanner. I haven't tried to really scale this up with a larger number of clients until now.