better test GNE shutting down while connection is being made.
consider timed waits in the future, but this won't be needed when the GNE protocol implementation is finished and detects timeouts.
This probably could be optimized quite a bit -- each packet gets copied twice!