[JBIDE-17881] make sure progress is correctly updated and closed
[JBIDE-17881] make sure progress is correctly updated and closed