I don't know about GNet, since I have not used it, yet. But I came across a similar behaviour with other development tools, and I think the explanation simply is that the operating system does not free the used sockets/ports immediately. On Mac OS X I observed that it could take up to a minute before a port became available again.