Revert the implementation for synchronous cancelling.