Timeout code changed