IndexTask: Print metrics even if finishJob fails