Close expired terminal connections safely
Terminal connections now send their access-expired close message without sharing the WebSocket library’s write buffer. A simultaneous client close no longer duplicates that message or races connection cleanup. Access expiry and traffic limits remain enforced.