Probe your MCLR pin when you disconnect the RS232 cable.

What's happen? Should go to GND for XYZ time. Place a pull-down resistor on pin 8 of your MAX232.