attempt to suppress exceptions in daemon threads at shutdown
attempt to suppress exceptions in daemon threads at shutdown

clean shutdown could result in Attribute/TypeErrors in channel
threads due to garbage collection of namespaces.  Now
try to ignore these exceptions if the shutdown process is detected.

ipython/ipython,ipython/ipython