Revert the crypto "global lock" implementation