Changing 'IUserAgent' to implement 'IDisposable'