improved WebView resource cleanup