No need to lock the thread mutexs on main.