Raising a DispatcherHandlerStop prevents handlers in other groups from being executed. Due to the construction of process_update in the Dispatcher, the update is not persisted in that case, since line 334 is not executed.
This is usually no problem, since all data is persisted on showtdown (from the Updater). However, when trying to acces the persisted files between updates or when a clean shutdown fails, this is an issue.
Hence, persistence should be handled also in line 352.
To avoid copy-pasting, I added a local method for handling the persistence and inserted it at both line 334 and 352.