Serial Communication doesn't work sometimes.

you could be loosing the handshaking synchronisation between the devices which will cause the communication to hang and require reset
what handshaking are you using software XON/OFF or hardware RTS/CTS ?

any particular reason for using handshaking? were you loosing data without it?