Don't part if the server is closing.

This stops us leaving all channels when closing a server through
the treeview, which is inefficient at best, and destructive to
bouncer users.

Fixes issue #17
Merge pull request #84 from csmith/master

Don't part if the server is closing.