Hello,
You may want to try this.
There is this parameter in the config.lua called streamsExpireTimer. The value indicated there has a unit of time in seconds. That is the indicator of how long EMS will wait before it will delete an idle/disconnected source stream which has a keepAlive=1 parameter.
You may want to increase its value to for example, 3600.