This is due to peer connection not resolving/rejecting promises when closed.
Created attachment 339617 [details] Patch
Comment on attachment 339617 [details] Patch Clearing flags on attachment: 339617 Committed r231395: <https://trac.webkit.org/changeset/231395>
All reviewed patches have been landed. Closing bug.
<rdar://problem/39996996>