You can attempt to terminate it after trying to reconnect the broker, so the strategy can square off the open positions automatically.