fix the bug when tilt with sync thread and progress dialog runnig, the
application crashes