add simple mutex management