tty: fix TypeError when stream is closed
Alternative to https://github.com/nodejs/node/pull/41335 that got stalled. Fixes: https://github.com/nodejs/node/issues/41330
Do not update/delete: Banner broadcast message test data
Do not update/delete: Notification broadcast message test data
Alternative to https://github.com/nodejs/node/pull/41335 that got stalled. Fixes: https://github.com/nodejs/node/issues/41330