Avoid potential memory leak resulting from a page not calling htmlReady()

Timeout is set to ten seconds.