add multithread mutex