Occasionally, I notice that I can no longer connect to TWS through the API. This happens whether it is with Gateway or Workstation. I've enabled the log file for now as well as increased the available memory, but neither resetting data or server connections seems to fix the issue, only a full restart of TWS. Needless to say, this isn't very nice. Is there any recommendation on how to debug the issue? Thanks!