added more ways to prevent uiwebview from leaking memory