downgrades to thread_safe 0.2.0 as 0.3.0 has been yanked