title: In Corda, how can I check whether an RPC connection is broken and automatically reconnect?
body: <p>I have an RPC connection to my Corda node, which I use to start flows and query the vault.</p>
  
  <p>Is there a recommended approach for checking if the connection dies and automatically reconnecting?</p>