close() during CONNECTING (an Effect open-timeout or scope teardown) leaves the native connect in flight, so its didOpen could still land and flip the socket back to OPEN, firing open handlers on a socket the caller had already given up on. handleOpen now only transitions from CONNECTING. Co-Authored-By: Claude Fable 5 <[email protected]>