I am using the Web Services Framework to periodically communicate with a web service. To avoid displaying the IAP selection dialog, I initialize my Web Service proxy object with a CSenServicePattern after calling SetFrameworkIdL() on the latter.

Everything seems to be working fine, however it seems that even after the Web Service proxy object is destroyed, the connection it used still shows in the "Active Connections" list (though listed as "inactive"). I suspect this results in increased battery consumption.

Any idea why the connection doesn't automatically close following the object's destruction?

Note that the connection is not used by other modules in my application (other than the web-service proxy), or by other applications on the device.