#25624 is an open PR for the second fix. It makes the idle timeout a setting, from 1 to 1440 minutes or Never.
That setting applies to every thread in the environment. Claude threads that message each other with SendMessage have to stay alive while idle (#9586).