I've been trying out scripts to get a feel of using the API, and in the process of changing the client ID I now have several connections through port 7497.
How can I disconnect from them? Either one at a time or all at once?
Here is what I've tried without success:
from ibapi.client import...