Close agent sessions, if the client seems to be disconnected.