Improve isHTML, increase timeout.