send closing stream element upon disconnecting
Merge branch 'websockets_reloaded'