limit timeout for searching error on form validation

reason: with default timeout (3 secs), looking for errors on form
validation takes 9 seconds. It causes problems when looking for a log
line that happened in the last 10 seconds.