Disconnect on page unload (refresh) since some versions of websockets don't do this properly (spec 76). Should prevent some webkit crashes in iOS UIWebViews.