The process will currently exit on a disconnect event which is not desirable for my use-case. Not sure what the best approach would be but the main one that comes to mind is to leave this as the default behavior and allow an option on initialization to change this behavior.
https://github.com/stoqey/ibkr/blob/665072e4df483bf8639a6ba9eb3d4b4555ca03da/src/connection/IBKRConnection.ts#L135
The process will currently exit on a disconnect event which is not desirable for my use-case. Not sure what the best approach would be but the main one that comes to mind is to leave this as the default behavior and allow an option on initialization to change this behavior.