Your PIC's input buffer may be overflowing, which may cause the pic to 'freeze'.

Add the following line if you don't already have one in your program:
Code:
DEFINE HSER_CLROERR 1
Harrison