mnot/thor — Issue #23: Close cleanly
Author: mnot
Created: 2012-02-07 03:30:24+00:00
State: open

We should shutdown() the channel when closing, then wait for incoming data. Once we get a shutdown back, or a timeout occurs, we can then close().