loc: fix for mutex blocking