Stop web socket write streams on error