Maybe fixed multithread crash.