mutex: restrict mutex spinning to only one task per mutex