Function EventDriverSockets.releaseRef
Decrements the reference count of the given socket.
Once the reference count reaches zero, all associated resources will be freed and the resource descriptor gets invalidated.
Returns
Returns false
iff the last reference was removed by this call.
Passing an invalid handle will result in a return value of true
.