Close NRelay1 socket after a period of inactivity
Whenever the last subscription is removed from an instance of NRelay1, I want the socket to close after N seconds, as long as another subscription isn't added within that timeframe.
If another subscription is added, the socket should be reopened if it's currently closed.