SONAR-4690 correctly remove the progress thread