# deadline pattern
do a thing ,until the deadline time point
as known as timeout pattern
which act like time.after(), but time.after() only do once.