update thread_safe dependency due to 0.3.0 missing