embed the last exception raised when doing wait_until()