Silences unnecessary error log on shutdown.
Merge pull request #851 from gubatron/transport-shutdown-fix

Silences unnecessary error log on shutdown.
Test util.