@davidfowl You realize this is not this fix is not intended to fix the late OnDisconnect issue, but instead the process crashing issue in Safari, right?

However, this fix *does* seem to cause the /abort request not to fire during unload in Safari which is a regression. While that is better than crashing, it's still pretty bad. I'll see if aborting in onbeforeunload makes a difference.