handle some error otherwise harvest stuck at running