add logging around stop sequence