rewrite WaiingDialog as child class of QThread
close method
fix