Implemented connection recovery

Unfortunately the RPC package uses TCP, not UDP.
System will attempt connection recovery if error detected from
heartbeats.