changed waiting time to 10 s