Removed exception causing .quit in on_disconnect and added a check to see if this was the last connection that closed. If it was, then stop the bot.