That's a fair reason, I do the same in HttpCommand. You might want to check for ⎕INSTANCES Conga.LIB to see if there's are instances hanging around, and then if there are look at (⎕INSTANCES Conga.Lib).RootName to see if there's a DiscordBot instance and then close that.
Also, Adam's suggestion of setting flag←0 is spot on for stopping the listen loop. It's a wide idea to close Conga instances cleanly before restarting.