add time wait

Signed-off-by: Ghold <nhstljh302@gmail.com>