for (i = 0; i < slaves_count; i++) {
m_task_t task = MSG_task_create("finalize", 0, 0, FINALIZE);
int a = MSG_task_put_with_timeout(task, slaves[i], PORT_22, 1.0);
if (a == MSG_OK)
continue;
if (a == MSG_HOST_FAILURE) {
for (i = 0; i < slaves_count; i++) {
m_task_t task = MSG_task_create("finalize", 0, 0, FINALIZE);
int a = MSG_task_put_with_timeout(task, slaves[i], PORT_22, 1.0);
if (a == MSG_OK)
continue;
if (a == MSG_HOST_FAILURE) {