6.71: temporarily use a main package variable to determine if sockets were created already.