The stream handler lacked pre-event expiry validation
These functions collectively failed to terminate sessions when tokens expired, relying only on initial ACL checks and garbage collection rather than continuous validation. The patch added expiryTime tracking and pre-event checks in these locations.