Added ExpectTimeout to wrap Expect with a timeout.