final public function disableCrypto(): Promise
    {
        if (($resource = $this->reader->getResource()) === null) {
            return new Failure(new ClosedException('The socket has been closed'));
        }

        return Internal\disableCrypto($resource);
    }