```typescript
import { Socket } from "node:node__net.d.ts";
```
Socket.prototype.unref(): this
Calling `unref()` on a socket will allow the program to exit if this is the only
active socket in the event system. If the socket is already `unref`ed calling`unref()` again will have no effect.