Escaping echo error

So for test purposes Im trying to loop messages basically infinitely, is there any way for me to do that without always getting an echo error?