Reengineer shutdown protocol: remove reference counting.

The counting was a pain, clients must signal their own shutdown situations now.