Open
requested to merge github/fork/FinnStutzenstein/fix-websocket-upgrade-closed-socket into master
There are situations where the socket can already be closed. Writing to it will result in a "This socket has been ended by the other party" error which results in the node service to terminate (cannot be catched by a try-catch block).