is There a better way to wait until a condition is true or until a timeout occured. Should I use a canceltoken instead a private variable in the class. The variable will bec