Go testing: add some exit commands

For less-intelligent netcats or netcats written in Go that
don't do shutdown()

Signed-off-by: Ronald G. Minnich <rminnich@google.com>