You haven't mentioned what type of network path you're using, but I guess you're probably using a TCP/IP stream. In that case it is pretty unlikely that you are losing commands due to link level failures since TCP will detect that and retry as necessary. And if you aren't already using TCP, I suggest you do so since that will address this issue.