upgrade thread_safe gem to 0.3.4