fix for PCX - reentrancy for the MVar-based implementation