fixed threading issue that caused not updating run status