Assert a thunk or generator's timeout co-style