progress = (int) (taskRead.getProgress() * 100);
taskStatus = taskRead.getStatus();
//fix cluster deletion exception
Type taskType = taskRead.getType();
if ((taskType == Type.DELETE) && (taskStatus == TaskRead.Status.COMPLETED)) {
clearScreen();
System.out.println(taskStatus + " " + progress + "%\n");
break;
}