Timeout bug fix.