cleanup fp cache on examples with thread local storage