Change state after unexpectedly killed WebSockets
Merge pull request #24 from Gordin/websocket

Change state after unexpectedly killed WebSockets. Fixes a bug discussed in #23