Fix irregular race loop