changed waiting time when dumping file