Makes XhrTransport a Disposable