Is this a joke? We for years laughed at Windows for closing applications for updates, now Ubuntu started doing the same thing.
Little more context would be helpful for the developers. For example, which software, what were you doing when it closed, etc.
Moving to Support Requests and closing.
The answer to https://askubuntu.com/questions/1412575/pending-update-of-snap-store should tell you what you want to know.
The developers welcome code and well-thought-out solutions.