for the ssh server, we can take a different tack on this which is to tell the old process to close its listening socket and shut down when all the clients are gone. there is no reason why it needs to specifically try to shut down the current clients, and there is less chance of disruption to running clients if we don't. if there are obsolete daemon processes cluttering up the server, we can eventually just kill them off - clients need to cope with interrupted connections eventually anyhow.
for the ssh server, we can take a different tack on this which is to tell the old process to close its listening socket and shut down when all the clients are gone. there is no reason why it needs to specifically try to shut down the current clients, and there is less chance of disruption to running clients if we don't. if there are obsolete daemon processes cluttering up the server, we can eventually just kill them off - clients need to cope with interrupted connections eventually anyhow.