There is no API to let me see if a terminal is in use, so whenever a command is run we spin up a new terminal. This leads to a bunch of unused terminals to clean up.
Suggest to investigate an option that reuses the same terminal, commands are effectively queued up.