cleanup commig
poll completion only at the end
poll for completion only once at the end