Try to rationalise the mutex lock/unlock sequence. Hunting for an