DDF-399 fixed application install not waiting correctly