deal with time wait