That is a feature the https://github.com/itay-grudev/SingleApplication variant has and very useful to easily allow to wait for exit in one of the secondary instances.