Wrapped the entire loop in a try catch to prevent people using doggo protocols