Add some debug logging when disconnecting the proxy.