heartbeat to SX Bet API using the Heartbeat service. An API Key is necessary for this service. Once you register a heartbeat with the desired timeout value, all your open orders will be automatically cancelled if another heartbeat request is not sent within that timeout period.
This will ensure that when loss of connectivity occurs between your service and SX Bet API, there will be no exposure left on the orderbook.