Make s_productGetter thread_local rather than static.
Merge pull request #1071 from wmtan/s_productGetter_thread_local

Make s_productGetter thread_local rather than static.