Fix condition reported by test -race.
Remove extraneous calls to Disconnect in tests.
Add log of reader and writer shutdown.
Ask for DISCONNECT receipt if caller did not.