Don't forcibly disconnect on page unload - this rarely actually gets
through anyway