fix bug that allows a stateful job to fail because a previous job failed to reset static var
fix bug that allows a stateful job to fail because a previous job failed to reset static var

berkmancenter/mediacloud,berkmancenter/mediacloud,berkmancenter/mediacloud,berkmancenter/mediacloud,berkmancenter/mediacloud