RST connection never times out on Safari

I'm working with external firewall access control policies restrictions, and I noticed Safari is getting hung after certain firewall rules were hit. After troubleshooting it further, it looks like mojave sends an "ACK" packet after it received the "RST, ACK" packet from the network, but Safari never times out the connection. With a different web browser (Firefox), it does time out the connection after about 120 seconds, and renders the page without the blocked elements, but Safari was still trying to load the page for well over 4 hours and no page was displayed.

Any chance this behavior can be reviewed, and possibly fixed? Would hate to recommend a different web browser to my end users because of this.


Currently running Mojave 10.14.1 build 19B73a.

[Edit] Seems this behavior is across multiple platforms, as it too happens on iOS 12.1 build 16B5089b.

[Edit 2] Seems this behavior is not something introduced by the beta, as it too happens on the official Mojave 10.14 release.


Thank you.