Remove unneccessary thread_safe call.