tweak timeout handling in HTMLFeatures