Proper handling of progress monitor in TeaVMBuilder