make gather phase as finished if there is an error