added video timeout