add thread_safe gem for heroku deploy