Merge pull request #18072 from exAspArk/thread_safe_gem_version

Use thread_safe gem version greater or equal to 0.3.4