How to automatically restart conversations on bot restart?

Hello. I am developing a chat bot in rasa_core, but at the same time the person with hired me is demonstrating this bot to his friends. Every time the code in the file changes and the bot is restarted, when the testers say hello to the bot, it responds with a utter_default. I use the MongoTrackerStore to save the coversation state. Is there any way to automatically restart all the conversations when restarting the bot? (other than emptying the database)