reset progressbar text if exception inside thread occurrs