static void clearThreadLocal(ThreadLocal tl) { if (tl != null) tl.set(null); }