Revert mutex changes