Deadlock prevention by using recursive mutex. Use per-thread pause counter.
Deadlock prevention by using recursive mutex. Use per-thread pause counter.

kutelev/overthrower,kutelev/overthrower,kutelev/overthrower,kutelev/overthrower