Check errors before adjusting timeout.