Small cleanup.
Automatic retry of NPE to work around an HTMLUnit bug.