If any of your hosts has a Logoff State implemented, when a session is disconnected for any reason, the active host screen's scripting will be run with the state=Logoff.
Unlike standard scripting that has an internal limit of 100 screens/actions per script execution, the Logoff state special execution has a default limit of 10 screens. Since logging off can get "stuck" on a screen requiring some kind of override, limiting to 10 screens is the default to avoid excessive activity.
Set this to a higher number if you are aware of a particularly complicated route for logging off.