See https://github.com/nodejs/node/pull/30839 `_writeGeneric` waits for `'connect'` https://github.com/nodejs/node/blob/cf5ce2c9e1aab5eadbae107c697fdd11c6fb93a9/lib/net.js#L759 which might never be emitted due to https://github.com/nodejs/node/blob/cf5ce2c9e1aab5eadbae107c697fdd11c6fb93a9/lib/net.js#L1106-L1108 I believe this will fail: ```js const socket = createSocketBeforeConnect(); socket.write('asd', common.mustCall()); socket.destroy(); ```