Fix incorrect "thread-safe" in docs