getAgent(serverUrl) {
	        const parsedUrl = new URL(serverUrl);
	        return this._getAgent(parsedUrl);
	    }
If the reader is active, behaves the same as {@link WritableStream.close | stream.close()}.