Graceful shutdown timeouts

This change allows graceful shutdown attempts to time out. If we're closing connections more because we suspect they might be dead, it stands to reason that sending a known-bad notification to shut down might leave connections in limbo, too.

This depends on #116.
Oh -- oops. Yeah -- looks like I just absent-mindedly tightened the scope because nothing outside of this file needs it.