Fix broken WriteOnly reentrant locks