Loop reseting.