changed header row timeout to assertion error

current "raise ValueError" would have been caught by "except ValueError"
statement and recursion would have continued